From: sorelz Date: Tue, 2 Jul 2024 20:17:35 +0000 (-0400) Subject: appDisplay: Use AppFolderDialog grabHelper to obtain key focus on popup() X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~226^2^2~21 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=9569239ec5e774f59bb973adb34196b984c50e85;p=gnome-shell.git appDisplay: Use AppFolderDialog grabHelper to obtain key focus on popup() When an app folder is opened it would do so without grabbing the keyboard focus, so one could not navigate with the arrow keys without pressing Tab. This adds the focus parameter to popup()'s grab, which sets the key focus to the elements of the folder when it is opened. Part-of: --- diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index b3946cd66..0ca36bb5d 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -2899,6 +2899,7 @@ export const AppFolderDialog = GObject.registerClass({ this._isOpen = this._grabHelper.grab({ actor: this, + focus: this._editButton, onUngrab: () => this.popdown(), });